package com.artwork.service;

import com.artwork.common.exception.JsonException;
import com.artwork.model.SysUser;

import java.util.List;

/**
 * @Author JoJo
 * @Data 2021/9/8$ 14:22$
 * @Description
 * @Param $
 * @Return $
 */
public interface SysUserService {

    SysUser selectByPrimaryKey(Integer id);

    List<SysUser> getList(SysUser sysUser);

    SysUser selectByName(String name);

    SysUser loginAction(String name, String password) throws JsonException;
}
